<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <title>Title</title>
</head>

<body>
<h1>张三学vue！</h1>
<!--view层 模板-->

<div id="app">
    <span v-bind:title="message">
        鼠标悬停会有提示信息
    </span>
</div>

<!--导入Vue.js-->

<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>

<script>

    var vm = new Vue({
        el: "#app",
        data: {
            message: "hello Vue!"
        }
    });

</script>
</body>
</html>